package pers.jason.wppm.web.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import pers.jason.wppm.api.entity.system.SystemManager;
import pers.jason.wppm.api.entity.system.SystemTheme;
import pers.jason.wppm.web.dao.SystemDao;
import pers.jason.wppm.web.service.SystemService;

import java.util.List;


/**
 * @ClassName: SystemServiceImpl
 * @Author: JZH
 * @Date: 2019/1/12 14:54
 */
@Service
public class SystemServiceImpl implements SystemService {

    @Autowired
    private SystemDao systemDao;

    @Override
    public SystemManager getLatestSystem() {
        return systemDao.getLatestSystem();
    }

    @Override
    public List<SystemTheme> getThemeByVersion(String systemVersion) {
        return systemDao.getThemeByVersion(systemVersion);
    }
}
